import { createStore, applyMiddleware } from 'redux';
import baseReducers from './redux';
import { createEpicMiddleware } from 'redux-observable';
import epics from './epic';

const epicMiddleware = createEpicMiddleware();
export default createStore(baseReducers, applyMiddleware(epicMiddleware));
epicMiddleware.run(epics);
